package com.yurun.orgpermissionmodule.service;

import com.yurun.commonapi.api.CommonResult;
import com.yurun.commonapi.pojo.UmsRole;

import java.math.BigInteger;

public interface OrgPermissionService {

    CommonResult addRole(UmsRole umsRole);

    CommonResult allRoleInfo(BigInteger organizationId, String keyword, int pageNum, int pageSize);

    CommonResult getOneRoleInfo(int id);

    CommonResult updateRoleStatus(int roleId);

    CommonResult editRole( int roleId, int[] roleIds, String name, String description, int status);

    CommonResult getRoleOption(BigInteger organizationId);
}
